package com.lin.cloud.disk.entity.request.file;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotNull;

/**
 * @program: cloud-disk
 * @description:
 * @author: Lin
 * @create: 2021-03-09 18:24
 **/
@Data
public class UploadImgRequest {

    @ApiModelProperty(value = "file", name = "file")
    @NotNull(message = "文件不能为空")
    private MultipartFile file;
}
